package com.learn.mapper;

import com.learn.pojo.User;

import java.util.List;

/**
 * @author DJJ_F
 * @version 1.0
 * @date 2025/02/16
 * @description 持久层，是对数据库操作的封装，负责与数据库交互
 */
public interface UserMapper {
    boolean insert(User user);
    User selectById(Integer id);
    List<User> selectAll();
}
